package cn.wenhe9.yygh.model.hosp;

import cn.wenhe9.yygh.model.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author DuJinliang
 * 2022/2/10
 */
@ApiModel(description = "医院设置")
@TableName("hospital_set")
public class HospitalSet extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("医院名称")
    @TableField("hosname")
    private String hosname;

    @ApiModelProperty("医院编号")
    @TableField("hoscode")
    private String hoscode;

    @ApiModelProperty("api基础路径")
    @TableField("api_url")
    private String apiUrl;

    @ApiModelProperty("签名秘钥")
    @TableField("sign_key")
    private String signKey;

    @ApiModelProperty("联系人姓名")
    @TableField("contacts_name")
    private String contactsName;

    @ApiModelProperty("联系人手机号")
    @TableField("contacts_phone")
    private String contactsPhone;

    @ApiModelProperty("状态")
    @TableField("status")
    private Integer status;

    public String getHosname() {
        return hosname;
    }

    public void setHosname(String hosname) {
        this.hosname = hosname;
    }

    public String getHoscode() {
        return hoscode;
    }

    public void setHoscode(String hoscode) {
        this.hoscode = hoscode;
    }

    public String getApiUrl() {
        return apiUrl;
    }

    public void setApiUrl(String apiUrl) {
        this.apiUrl = apiUrl;
    }

    public String getSignKey() {
        return signKey;
    }

    public void setSignKey(String signKey) {
        this.signKey = signKey;
    }

    public String getContactsName() {
        return contactsName;
    }

    public void setContactsName(String contactsName) {
        this.contactsName = contactsName;
    }

    public String getContactsPhone() {
        return contactsPhone;
    }

    public void setContactsPhone(String contactsPhone) {
        this.contactsPhone = contactsPhone;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

}
